package com.mixmall.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.mixmall.entity.MaiProductUser;
import com.mixmall.mapper.MaiProductUserMapper;
import com.mixmall.service.IMaiProductUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author caozhiren
 * @since 2024-09-26
 */
@Service
public class MaiProductUserServiceImpl extends ServiceImpl<MaiProductUserMapper, MaiProductUser> implements IMaiProductUserService {

//    @Override
//    public MaiProductUser findByUserName(String userName) {
//        QueryWrapper<MaiProductUser> queryWrapper = new QueryWrapper<>();
//        queryWrapper.lambda()
//                .eq(MaiProductUser::getUserName,userName)
//                .eq(MaiProductUser::getId,1);
//        return baseMapper.selectOne(queryWrapper);
//    }
}
